package by.fedorenko.sample.services;

import org.springframework.transaction.annotation.Transactional;

import by.fedorenko.sample.datamodel.Invoice;

public interface InvoiceService {
	@Transactional
	Invoice get(Long id);

	@Transactional
	void saveOrUpdate(Invoice invoice);

	@Transactional
	void delete(Invoice invoice);

	//@Transactional
	//void deleteAll();
}
